import detail from '../utils/require'
export default {
    getDetail(id) {
        return detail.post(`/api/product/getDetails/`, id)
    },
    gitBanner(data = {}) {
        return detail({
            url: "/api/product/getDetailsPicture",
            method: "POST",
            data: data
        })
    },
    getCart(data) {
        return detail.post('/api/user/shoppingCart/addShoppingCart', data)
    }
}
